<?php


namespace api\zmt\controller;


use api\zmt\model\BannerModel;
use cmf\controller\RestBaseController;

class BannerController extends RestBaseController
{

    public function index(){
        $banner=BannerModel::select();
        $this->success('轮播图',$banner);
    }
}